package com.lagou.edu.authority.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lagou.edu.authority.dto.AllocateRoleMenuDTO;
import com.lagou.edu.authority.dto.MenuNodeDTO;
import com.lagou.edu.authority.entity.Menu;

import java.util.List;
import java.util.Set;

/**
 * TODO
 *
 * @author lm
 * @since 2021/11/4 15:49
 */
public interface IMenuService extends IService<Menu> {
    List<MenuNodeDTO> getMenuNodeList();

    List<Menu> getMenuByRoleId(Set<Integer> roleIds);

    Boolean allocateRoleMenus(AllocateRoleMenuDTO allocateRoleMenuDTO);
}
